phpseclib\Net\SSH2 D

Total Complexity 648
Dependencies 12
Dependents 1
Total lines 5,076
Lines of code 2,725
Logical lines of code 1,695
Comment lines 1,652
Methods 90
Properties 85

Methods 90

Method Rating Maintainability Complexity Lines of code
_key_exchange()
D
1
106 548
_get_channel_packet()
D
20
61 201
_filter()
D
26
42 148
_login_helper()
D
27
34 161
_get_binary_packet()
D
29 36 111
getServerPublicHostKey()
D
28
30 132
_connect()
C
31 29 103
_keyboard_interactive_process()
C
35 24 87
exec()
C
33 21 113
_encryption_algorithm_to_key_size()
B
47 24 33
_encryption_algorithm_to_crypt_instance()
B
47 21 34
_privatekey_login()
B
34 16 103
setPreferredAlgorithms()
A
39 13 70
_append_log()
A
42 12 54
read()
A
47 12 33
getSupportedEncryptionAlgorithms()
A
43 9 53
_send_binary_packet()
A
47 8 30
_initShell()
A
43 6 58
__construct()
S
36 3 85
_generate_identifier()
S
54 7 21
startSubsystem()
S
47 5 42
_close_channel()
S
55 6 19
_login()
S
57 6 17
ping()
S
51 5 29
getLog()
S
59 5 14
_send_channel_packet()
S
52 4 26
_format_log()
S
53 4 20
login()
S
60 4 13
_define_array()
S
62 4 12
_disconnect()
S
61 4 11
write()
S
63 4 11
_get_open_channel()
S
64 4 9
_bad_algorithm_candidate()
S
67 4 9
_reconnect()
S
62 3 11
_keyboard_interactive_login()
S
57 2 20
getSupportedKEXAlgorithms()
S
60 2 16
_array_intersect_first()
S
68 3 8
_updateLogHistory()
S
65 3 9
_get_interactive_channel()
S
66 3 10
disconnect()
S
71 3 6
_ssh_agent_login()
S
64 3 10
getServerAlgorithms()
S
57 1 19
getAlgorithmsNegotiated()
S
59 1 17
getLastError()
S
71 2 6
_on_channel_open()
S
75 2 5
disablePTY()
S
70 2 7
getExitStatus()
S
73 2 6
sendIdentificationStringFirst()
S
82 1 3
getWindowRows()
S
83 1 3
getCompressionAlgorithmsClient2Server()
S
78 1 4
getCompressionAlgorithmsServer2Client()
S
78 1 4
getLanguagesServer2Client()
S
78 1 4
setWindowSize()
S
77 1 4
getLanguagesClient2Server()
S
78 1 4
setWindowRows()
S
82 1 3
setWindowColumns()
S
82 1 3
sendKEXINITLast()
S
82 1 3
getBannerMessage()
S
83 1 3
getSupportedHostKeyAlgorithms()
S
70 1 8
sendKEXINITFirst()
S
82 1 3
getSupportedMACAlgorithms()
S
68 1 9
getMACAlgorithmsClient2Server()
S
78 1 4
getSupportedCompressionAlgorithms()
S
77 1 5
getWindowColumns()
S
83 1 3
sendIdentificationStringLast()
S
82 1 3
getMACAlgorithmsServer2Client()
S
78 1 4
_reset_connection()
S
64 1 10
getEncryptionAlgorithmsServer2Client()
S
78 1 4
reset()
S
82 1 3
isConnected()
S
80 1 3
enableQuietMode()
S
82 1 3
disableQuietMode()
S
82 1 3
isQuietModeEnabled()
S
83 1 3
enablePTY()
S
82 1 3
setCryptoEngine()
S
82 1 3
isPTYEnabled()
S
83 1 3
__destruct()
S
83 1 3
isTimeout()
S
83 1 3
stopSubsystem()
S
74 1 5
getEncryptionAlgorithmsClient2Server()
S
78 1 4
_string_shift()
S
73 1 5
getStdError()
S
83 1 3
setKeepAlive()
S
82 1 3
setTimeout()
S
81 1 3
_format_log_helper()
S
77 1 3
getErrors()
S
83 1 3
getServerIdentification()
S
78 1 4
getKexAlgorithms()
S
78 1 4
isAuthenticated()
S
80 1 3
getServerHostKeyAlgorithms()
S
78 1 4